package com.ruoyi.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参与者信息对象 participant_information
 * 
 * @author 杨琛
 * @date 2020-10-16
 */
public class ParticipantInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Long serialNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String participantName;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date participantBirthdate;

    /** 专业职务 */
    @Excel(name = "专业职务")
    private Long professionalDuties;

    /** 研究专长 */
    @Excel(name = "研究专长")
    private Long theFeat;

    /** 最后学历 */
    @Excel(name = "最后学历")
    private Long lastEducation;

    /** 最后学位 */
    @Excel(name = "最后学位")
    private Long lastDegree;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnit;

    /** 附件id */
    @Excel(name = "附件id")
    private Long accessoryId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }
    public void setParticipantName(String participantName) 
    {
        this.participantName = participantName;
    }

    public String getParticipantName() 
    {
        return participantName;
    }
    public void setParticipantBirthdate(Date participantBirthdate) 
    {
        this.participantBirthdate = participantBirthdate;
    }

    public Date getParticipantBirthdate() 
    {
        return participantBirthdate;
    }
    public void setProfessionalDuties(Long professionalDuties) 
    {
        this.professionalDuties = professionalDuties;
    }

    public Long getProfessionalDuties() 
    {
        return professionalDuties;
    }
    public void setTheFeat(Long theFeat) 
    {
        this.theFeat = theFeat;
    }

    public Long getTheFeat() 
    {
        return theFeat;
    }
    public void setLastEducation(Long lastEducation) 
    {
        this.lastEducation = lastEducation;
    }

    public Long getLastEducation() 
    {
        return lastEducation;
    }
    public void setLastDegree(Long lastDegree) 
    {
        this.lastDegree = lastDegree;
    }

    public Long getLastDegree() 
    {
        return lastDegree;
    }
    public void setWorkUnit(String workUnit) 
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit() 
    {
        return workUnit;
    }
    public void setAccessoryId(Long accessoryId) 
    {
        this.accessoryId = accessoryId;
    }

    public Long getAccessoryId() 
    {
        return accessoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("participantName", getParticipantName())
            .append("participantBirthdate", getParticipantBirthdate())
            .append("professionalDuties", getProfessionalDuties())
            .append("theFeat", getTheFeat())
            .append("lastEducation", getLastEducation())
            .append("lastDegree", getLastDegree())
            .append("workUnit", getWorkUnit())
            .append("accessoryId", getAccessoryId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
